<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>Switch -IICON&lt;name&gt;  -  specify SFX icon</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<P class="title"><A NAME="HELPSwIICON"></A>Switch <B>-IICON&lt;name&gt;</B>
-  specify SFX icon<hr></P>

<P>Specify an icon to use in the created or updated SFX archive.
The &lt;name&gt; parameter is a name of .ico file. You must not compress
SFX module by any third party executable compressors if you are going
to use -iicon.</P>

<P>This switch is the command line equivalent of "<I>Load SFX icon
from the file"</I> option in <A HREF="HELPSFXOptText.htm">SFX options:
Logo and icon</A> dialog.</P>

<h1><B>Examples</B></h1>

<ol>
  <li>add contents of c:\myfiles folder to setup.exe SFX archive
      and use c:\myicons\ver1.ico as SFX icon</li>
</ol>
<blockquote>
  <p align="justify" class="sample">WinRAR a -sfx -iiconc:\myicons\ver1.ico setup.exe c:\myfiles</p>
</blockquote>
<ol start="2">
  <li>replace an icon in the already existing SFX archive setup.exe
      with ver2.ico stored in the current folder</li>
</ol>
<blockquote>
  <p class="sample">WinRAR s -iiconver2.ico setup.exe</p>
</blockquote>

</BODY>
</HTML>
